#pragma once
#include "Test.h"

#include "glad/glad.h"
#include "glfw3.h"
#include "learnopengl/Shader.h"
#include "Camera.h"
#include "Model.h"
#include "Imgui/imgui.h"
extern const float ScreenWidth;
extern const float ScreenHeight;
extern Camera camera;
namespace Test {
	class PlanetAndRockTest :
		public Test
	{
	public:
		PlanetAndRockTest();
		virtual void Enter() override;
		virtual void Leave() override;
		virtual void OnRender() override;
		virtual void OnImguiRender() override;
		virtual void Update(float deltaTime) override;
	private:
		int amount;
		int maxAmount;
		Shader* shader;
		Shader* planetShader;
		glm::mat4* modelMatrices;
		Model rock;
		Model planet;
		unsigned int modelMatrixVBO;

	};

}

